import { request } from 'umi';
//获取知识小测文章列表
export function getknowledgeList(){
    return request('/api/knowledge' )
}

//获取知识小册详情
export function getKnowledgeDetail(id: string) {
    return request(`/api/Knowledge/${id}`);
  }